package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 财务账目
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-11-09 00:22:19
 */
@TableName("caiwuzhangmu")
public class CaiwuzhangmuEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public CaiwuzhangmuEntity() {
		
	}
	
	public CaiwuzhangmuEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 收入编号
	 */
					
	private String shourubianhao;
	
	/**
	 * 名称
	 */
					
	private String mingcheng;
	
	/**
	 * 类型
	 */
					
	private String leixing;
	
	/**
	 * 金额
	 */
					
	private Double jine;
	
	/**
	 * 详情
	 */
					
	private String xiangqing;
	
	/**
	 * 登记时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date dengjishijian;
	
	/**
	 * 会计工号
	 */
					
	private String huijigonghao;
	
	/**
	 * 会计姓名
	 */
					
	private String huijixingming;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：收入编号
	 */
	public void setShourubianhao(String shourubianhao) {
		this.shourubianhao = shourubianhao;
	}
	/**
	 * 获取：收入编号
	 */
	public String getShourubianhao() {
		return shourubianhao;
	}
	/**
	 * 设置：名称
	 */
	public void setMingcheng(String mingcheng) {
		this.mingcheng = mingcheng;
	}
	/**
	 * 获取：名称
	 */
	public String getMingcheng() {
		return mingcheng;
	}
	/**
	 * 设置：类型
	 */
	public void setLeixing(String leixing) {
		this.leixing = leixing;
	}
	/**
	 * 获取：类型
	 */
	public String getLeixing() {
		return leixing;
	}
	/**
	 * 设置：金额
	 */
	public void setJine(Double jine) {
		this.jine = jine;
	}
	/**
	 * 获取：金额
	 */
	public Double getJine() {
		return jine;
	}
	/**
	 * 设置：详情
	 */
	public void setXiangqing(String xiangqing) {
		this.xiangqing = xiangqing;
	}
	/**
	 * 获取：详情
	 */
	public String getXiangqing() {
		return xiangqing;
	}
	/**
	 * 设置：登记时间
	 */
	public void setDengjishijian(Date dengjishijian) {
		this.dengjishijian = dengjishijian;
	}
	/**
	 * 获取：登记时间
	 */
	public Date getDengjishijian() {
		return dengjishijian;
	}
	/**
	 * 设置：会计工号
	 */
	public void setHuijigonghao(String huijigonghao) {
		this.huijigonghao = huijigonghao;
	}
	/**
	 * 获取：会计工号
	 */
	public String getHuijigonghao() {
		return huijigonghao;
	}
	/**
	 * 设置：会计姓名
	 */
	public void setHuijixingming(String huijixingming) {
		this.huijixingming = huijixingming;
	}
	/**
	 * 获取：会计姓名
	 */
	public String getHuijixingming() {
		return huijixingming;
	}

}
